/**
 * @file lv_theme_watch_night.h
 *
 */

#ifndef LV_THEME_WATCH_NIGHT_H
#define LV_THEME_WATCH_NIGHT_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_THEME_WATCH_NIGHT != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/
#define WATCH_COLOR_BLUE    LV_COLOR_MAKE(0x00,0xb7,0xee)
#define WATCH_COLOR_ORANGE  LV_COLOR_MAKE(0xff,0xa7,0x0d)
#define WATCH_COLOR_GRAY    LV_COLOR_MAKE(0xa0,0xa0,0xa0)
#define WATCH_COLOR_YELLOW  LV_COLOR_MAKE(0xff,0xd8,0x00)

/**********************
 * GLOBAL PROTOTYPES
 **********************/
/**
 * Initialize the night theme
 * @return pointer to the initialized theme
 */
extern lv_theme_t * lv_theme_watch_night_init(void);

extern lv_theme_t * lv_theme_get_watch_night(void);

#ifdef USE_FONT_TTF
/* font ttf file */
LV_FONT_DECLARE(lv_font_ttf_20)
LV_FONT_DECLARE(lv_font_ttf_30)
LV_FONT_DECLARE(lv_font_ttf_12)
LV_FONT_DECLARE(lv_font_ttf_14)
LV_FONT_DECLARE(lv_font_ttf_16)
LV_FONT_DECLARE(lv_font_ttf_40)
LV_FONT_DECLARE(lv_font_spec_symbols_ttf_20)
#define LV_THEME_WATCH_NIGHT_FONT_20 &lv_font_ttf_20
#define LV_THEME_WATCH_NIGHT_FONT_30 &lv_font_ttf_30
#define LV_THEME_WATCH_NIGHT_FONT_12 &lv_font_ttf_12
#define LV_THEME_WATCH_NIGHT_FONT_14 &lv_font_ttf_14
#define LV_THEME_WATCH_NIGHT_FONT_16 &lv_font_ttf_16
#define LV_THEME_WATCH_NIGHT_FONT_40 &lv_font_ttf_40
#define LV_THEME_WATCH_NIGHT_SPEC_SYMBOLS_FONT_20 &lv_font_spec_symbols_ttf_20
#define LV_THEME_WATCH_NIGHT_SYMBOL_NORMAL &lv_font_montserrat_24
#elif defined USE_FONT_BIN
/* font bin file */
LV_FONT_PTR_DECLARE(lv_font_droidSansFallbackFull_20)
LV_FONT_PTR_DECLARE(lv_font_droidSansFallbackFull_30_compressed)
#define LV_THEME_WATCH_NIGHT_FONT_20 lv_font_droidSansFallbackFull_20
#define LV_THEME_WATCH_NIGHT_FONT_30 lv_font_droidSansFallbackFull_30_compressed
#define LV_THEME_WATCH_NIGHT_FONT_12 &lv_font_montserrat_12
#define LV_THEME_WATCH_NIGHT_FONT_14 &lv_font_montserrat_14
#define LV_THEME_WATCH_NIGHT_FONT_40 &lv_font_montserrat_40
#define LV_THEME_WATCH_NIGHT_SYMBOL_NORMAL &lv_font_montserrat_24
#else
/* font c file */
LV_FONT_DECLARE(lv_font_droidSansFallbackFull_20)
LV_FONT_DECLARE(lv_font_droidSansFallbackFull_30_compressed)
#define LV_THEME_WATCH_NIGHT_FONT_20 &lv_font_droidSansFallbackFull_20
#define LV_THEME_WATCH_NIGHT_FONT_30 &lv_font_droidSansFallbackFull_30_compressed
#define LV_THEME_WATCH_NIGHT_FONT_12 &lv_font_montserrat_12
#define LV_THEME_WATCH_NIGHT_FONT_14 &lv_font_montserrat_14
#define LV_THEME_WATCH_NIGHT_FONT_40 &lv_font_montserrat_40
#define LV_THEME_WATCH_NIGHT_SYMBOL_NORMAL &lv_font_montserrat_24
#endif

#define LV_THEME_WATCH_NIGHT_INIT               lv_theme_watch_night_init
#define LV_THEME_WATCH_NIGHT_COLOR_PRIMARY      LV_COLOR_BLACK
#define LV_THEME_WATCH_NIGHT_COLOR_SECONDARY    LV_COLOR_GRAY
#define LV_THEME_WATCH_NIGHT_FLAG               0

#define LV_THEME_WATCH_NIGHT_FONT_SMALL         LV_THEME_WATCH_NIGHT_FONT_20
#define LV_THEME_WATCH_NIGHT_FONT_NORMAL        LV_THEME_WATCH_NIGHT_FONT_20
#define LV_THEME_WATCH_NIGHT_FONT_SUBTITLE      LV_THEME_WATCH_NIGHT_FONT_20
#define LV_THEME_WATCH_NIGHT_FONT_TITLE         LV_THEME_WATCH_NIGHT_FONT_20
#define LV_THEME_WATCH_NIGHT_FONT_BIG           LV_THEME_WATCH_NIGHT_FONT_30

extern lv_style_t lv_style_pretty;
extern lv_style_t lv_style_transp;
extern lv_style_t lv_style_transp_fit;
extern lv_style_t lv_style_transp_tight;

extern lv_style_t lv_watch_style_transp;
extern lv_style_t lv_watch_font10;
extern lv_style_t lv_watch_font14;
extern lv_style_t lv_watch_font16;
extern lv_style_t lv_watch_font20;
extern lv_style_t lv_watch_font20_black;
extern lv_style_t lv_watch_font20_yellow;
extern lv_style_t lv_watch_font20_gray;
extern lv_style_t lv_watch_font30;
extern lv_style_t lv_watch_font30_black;
extern lv_style_t lv_watch_font30_gray;
extern lv_style_t lv_watch_font30_yellow;
extern lv_style_t lv_watch_font40;
extern lv_style_t lv_watch_font40_yellow;
extern lv_style_t lv_watch_cont_opa1;
extern lv_style_t lv_watch_cont_opa2;
extern lv_style_t lv_watch_cb_styles;

extern lv_style_t lv_watch_image;
extern lv_style_t lv_watch_image_opa1;
extern lv_style_t lv_watch_black_tight;

extern lv_style_t lv_watch_chat_list_btn_rel_style;
extern lv_style_t lv_watch_chat_list_btn_pr_style;

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_THEME_WATCH_NIGHT*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*LV_THEME_WATCH_NIGHT_H*/
